import cookies from 'js-cookie'

const gameCart = "gm_cart_game"

export function setGameCart(data) {
    //7天
    return cookies.set(gameCart, data, {expires: 7})
}

export function getGameCart() {
    return cookies.get(gameCart)
}

export function removeGameCart() {
    return cookies.remove(gameCart)
}